package com.jxb.proxy;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

/**
 * 类注释
 *
 * @author jiaobo
 * @date Created in 2024/11/24 20:18
 **/
public class BojiaoMethodInterceptor implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("method");
        invocation.proceed();
        System.out.println("after ...");
        return "123";
    }
}
